$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$width: 82.292vw;
$f: 19.2;
*,
*::after,
*::before {
  box-sizing: border-box;
}
.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;
    padding-top: 3vw;
    .bg {
      overflow: hidden;

      img {
        width: 100%;
        transform: scale(1.1);
        transition: all 600ms;
        object-fit: cover;
      }
    }

    .text {
      width: $width;
      left: calc((100% - 82.292vw) / 2);
      position: absolute;
      top: 60%;
      transform: translateY(-50%);

      .t {
        color: #FFF;
        font-size: $fontSize_90;
        font-weight: 600;
      }

      .t2 {
        color: #E11B00;
        font-size: $fontSize_24;
        font-weight: 500;
      }
      .t3{
        color: #FFF;
        font-size: $fontSize_22;
        font-style: normal;
        font-weight: 400;
        margin: 1.302083333333333vw 0 0 0;
      }
    }

    &:hover {
      .bg {
        img {
          transform: scale(1);
        }
      }
    }
  }

  .section1{
    overflow: hidden;
    .anchorBL{
      display: none!important;
    }
    .wrap{
      width: 82.292vw;
      margin: 126/$f+vw auto 150/$f+vw;
      display: flex;
      justify-content: space-between;
      .left{
        width: 1002/$f+vw;
        .map{
          width: 100%;
          height: 378/$f+vw;
          position: relative;
          &:after{
            content: '';
            width: 100%;
            height: 125/$f+vw;
            background: linear-gradient(180deg, rgba(247, 247, 247, 0.00) 0%, #F7F7F7 100%);
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 1;
          }
          #container{
            width: 100%;
            height: 100%;
          }
        }
        .text{
          height: 145/$f+vw;
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 0 35/$f+vw;
          background: #F7F7F7;
          position: relative;
          &:after{
            content: '';
            position: absolute;
            width: 932px;
            height: 2px;
            background: #fff;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
          }
          .pick{
            p{
              color: #333;
              font-size: 24/$f+vw;
              font-style: normal;
              font-weight: 400;
              line-height: normal;
              &:not(:last-child) {
                margin: 0 0 10/$f+vw;
              }
            }
          }
          .message {
            .list{
              display: flex;
              align-items: center;
              &:not(:last-child) {
                margin: 0 0 10/$f+vw;
              }
              svg{
                width: 30/$f+vw;
                height: 30/$f+vw;
                margin: 0 15/$f+vw 0 0;
              }
              p{
                color: #333;
                font-size: 24/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
              }
            }
          }
        }
      }
      .r{
        width: 484/$f+vw;
        .title{
          margin: 0 0 50/$f+vw;
          h1{
            color: #000;
            font-size: 2.5vw;
            font-style: normal;
            font-weight: 600;
            line-height: 50/$f+vw; /* 100% */
            margin: 0 0 20/$f+vw;
          }
          p{
            color: #666;
            font-size: 1.1vw;
            font-style: normal;
            font-weight: 300;
            line-height: 1.6; /* 100% */
          }
        }
        form{
          .list{
            width: 469/$f+vw;
            max-width: 100%;
            height: 62/$f+vw;
            background: #FAFAFA;
            display: flex;
            align-items: center;
            padding: 0 0 0 30/$f+vw;
            &:not(:last-child) {
              margin: 0 0 12/$f+vw;
            }
            .img{
              width: 30/$f+vw;
              height: 30/$f+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              margin: 0 20/$f+vw 0 0;
              img{
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
              }
            }
            input{
              flex: 1;
              height: 100%;
              border: none;
              background: transparent;
              font-size: 1.1vw;
              font-style: normal;
              font-weight: 300;
              line-height: 22/$f+vw; /* 100% */
              &::placeholder{
                color: #8A8A8A;
              }
            }
          }
          button{
            width: 469/$f+vw;
            max-width: 100%;
            height: 62/$f+vw;
            background: #F90D1B;
            margin: 34/$f+vw 0 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #FFF;
            font-size: 34/$f+vw;
            font-style: normal;
            font-weight: 600;
            line-height: 34/$f+vw; /* 100% */
            border: none;
            outline: none;
            cursor: pointer;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      padding-top: 0;
      .bg{
        img{
          min-height: 200px;
        }
      }
      .text{
        .t{
          font-size: 24px;
        }
        .t2{
          font-size: 18px;
        }
      }
    }

    .section1{
      .wrap{
        width: 90%;
        padding: 30px 0 80px 0;
        flex-direction: column;
        margin: auto;
        .left{
          width: 100%;
          .map{
            height: 275px;
          }
          .text{
            height: auto;
            padding: 20px 16px;
            flex-direction: column;
            align-items: unset;
            &:after{
              width: 90%;
            }
            .pick{
              p{
                font-size: 16px;
              }
            }
            .message{
              margin: 15px 0 0 0;
              .list{
                svg{
                  width: 25px;
                  height: 25px;
                }
                p{
                  font-size: 16px;
                }
              }
            }
          }
        }
        .r{
          margin: 50px 0 0 0;
          width: 100% ;
          .title{
            margin: 0 0 25px;
            h1{
              font-size: 22px;
              line-height: 1;
              margin: 0 0 10px;
            }
            p{
              font-size: 14px;
              line-height: 1;
            }
          }
          form{
            .list{
              height: 45px;
              width: 100%;
              padding: 0 0 0 5%;
              &:not(:last-child) {
                margin: 0 0 10px;
              }
              .img{
                width: 20px;
                height: 20px;
                margin: 0 7px 0 0;
              }
              input{
                font-size: 14px;
              }
            }
            button{
              width: 100%;
              height: 45px;
              font-size: 14px;
              margin: 12px 0 0 0;
            }
          }
        }
      }
    }
  }
}